package com.my.myspringboot3.utils;

import com.my.myspringboot3.exception.BoaException;

/**
 * @author lenovo
 * @date 2024/7/15 15:18
 */
public class AssertUtil {
    public static void isTrue(boolean expression, BoaException pdException) {
        if (!expression) {
            throw pdException;
        }
    }
}
